mergBgTaskStop
Type
command
Summary
Stop a background task
Syntax
mergBgTaskStop <pBackgroundTaskIdentifier>
Description
Call this if your code has finished executing before your app recieved the mergBgTaskExpired message and your app will go into suspend. You can use this to manage multiple background tasks. As soon as you call mergBgTaskStop if your app is in the background it will be suspended unless there are other background tasks that have some time left.
Parameters
Name | Type | Description |
---|---|---|
pBackgroundTaskIdentifier | A name used to identify the task as set in mergBgTaskStart |
Compatibility and Support
Introduced
LiveCode 8.0
OS
ios
Platforms
mobile